package models

import "time"

type SysStuActivities struct {
	ID int `json:"id" gorm:"primary key;AUTO_INCREMENT"`
	StuID int `json:"stu_id"`
	ActivityName string `json:"activity_name"`		// 活动名称
	Prize string `json:"prize"`	// 活动级别
	Organizers string `json:"organizers"`
	PartTime time.Time `json:"part_time"`
	ProjectLeader string `json:"project_leader"`
	ResearchDirection string `json:"research_direction"`
	ResearchAchievement string `json:"research_achievement"`
	ProjectRole string `json:"project_role"`
	PlusPoint float64 `json:"plus_point"`	// 加分
	Type string `json:"type"`
	Student SysStudent `gorm:"ForeignKey:StuID;AssociationForeignKey:StuID" json:"student"`
}
